// import request from '@/utils/request.js'
import request from '@/utils/mgop'

//资源列表
export function getResourceList(params) {
  return request({
    api: 'mgop.hp.reduce.resourcesList',
    type: 'GET',
    data: params
  })
}
//资源详情
export function getResourceInfo(id) {
  return request({
    api: 'mgop.hp.reduce.resourcesInfo',
    type: 'GET',
    data: { id }
  })
}
//资源类型
export function getResourceType() {
  return request({ api: 'mgop.hp.reduce.resourcesType', type: 'GET' })
}
